//
//  DialectDB.h
//  DialectShare
//
//  Created by timmy zhong on 3/20/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
@class YuXi;
@class User;

@interface DialectDB : NSObject

- (void)addDialects:(NSArray *)dialects;
- (NSArray *)getRecordsWithCondition:(NSString *)condition orderBy:(NSString *)orderBy start:(NSInteger)start count:(NSInteger)count;
- (NSArray *)aroundWithLongitude:(float)lng latitude:(float)lat start:(NSInteger)start count:(NSInteger)count;
- (NSArray *)feedsFromStart:(NSInteger)start count:(NSInteger)count;
- (NSArray *)dialectsOfYuXi:(YuXi *)yuxi start:(NSInteger)start count:(NSInteger)count;
- (NSArray *)dialectsOfUser:(User *)user start:(NSInteger)start count:(NSInteger)count;
@end
